package serverTest;

import java.rmi.server.*;
import java.rmi.*;
import java.util.Date;

public class TimeServiceImpl extends UnicastRemoteObject implements TimeService {

	private static final long serialVersionUID = -1776298304065620721L;

	public TimeServiceImpl() throws RemoteException {
		super();
	}

	public Date getTime() throws RemoteException {
		return new Date(System.currentTimeMillis());
	}
}
